package com.itheima.dao;

import com.itheima.pojo.Member;

import java.util.List;
import java.util.Map;

/**
 * @author mengwei
 * @date 2019/8/18
 * @desc
 */
public interface MemberDao {
    Member findByTelephone(String telephone);

    void addMember(Member member);

    long findCountBeforeByDate(String month);

    long findTodayNewMember(String todayDate);

    long findTotalMember();

    long findNewMemberCountAfterByDate(String date);

//    会员统计饼图
    List<Map<String,String>> getMemberSex();


    List<Member> getAllidCate();

    Long findMemberByDate(String beginDate, String endDate);
}
